﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DemoStock.Common;

namespace DemoStock.Model
{
    /// <summary>
    /// 
    /// </summary>
    public class Market:NotifyBase
    {
        private string name;
        private float price;
        private float precent;
        private float upDownValue;
        private string color;
        public string Color { get { return color; } set { color = value; this.Notify(); } }
        public string Name { get { return name; } set { name = value; this.Notify(); } }
        public float Price {  get { return  price;} set {price = value; this.Notify(); } }
        public float Precent {  get { return  precent;} set {precent = value; this.Notify(); } }
        public float UpDownValue {  get { return  upDownValue;} set {upDownValue = value; this.Notify(); } }
    }
}
